{layout name="common@common_layout/template" /}
<section class="scrollable padder">
	<div class="m-b-md">
		<h3 class="m-b-none">修改学员信息</h3>
	</div>
	<section class="panel panel-default">
		<header class="panel-heading font-bold">
			名字
		</header>
		<iframe style="display: none;" name="ifr"></iframe>
		<div class="panel-body">
			<form class="form-horizontal" target="ifr" action="{:url('administration_module/index/commit_add_edit',['now_student'=>$student_list.id])}" method="post">
				<input type="text" name="now_student" style="display: none;" value="{$student_list.id}">
				<input type="text" name="now_consultant" style="display: none;" value="{$student_list.consultant_id}">
				<div class="form-group">
					<label class="col-sm-2 control-label">姓名</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="name" disabled value="{$name}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">身份证号码</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="id_card" value="{$student_list.id_card}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">所在班级</label>
					<div class="col-sm-10">
						<select name="class_id" class="form-control m-b">
							{volist name="class_list" id="class" empty="暂时没有数据"}
							<option {$student_list['class_id']==$class['id']?"selected":""} value="{$class.id}">{$class.name}</option>
							{/volist}
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">应缴纳学费</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入学生应缴纳的学费" name="tuition" value="{$student_list.tuition}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">缴纳学费类型</label>
					<div class="col-sm-10">
						<select name="type" class="form-control m-b">
							<option <?php echo $student_list['type']=="1"?"selected":""?>>自费</option>
							<option <?php echo $student_list['type']=="2"?"selected":""?>>贷款</option>
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label" for="input-id-1">缴纳日期</label>
					<div class="col-sm-10">
						<input class="Wdate" type="text" onClick="WdatePicker()" name="pay_date" value="{$student_list.pay_date}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学费说明</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入学生的学费说明" name="pay_remark" value="{$student_list.pay_remark}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="clear: both;">
					<label class="col-sm-2 control-label">是否借电脑</label>
					<div class="col-sm-10">
						<div class="radio i-checks" style="float: left;">
							<label>
								<input type="radio" name="is_computer" value="0" <?php echo $student_list['is_computer']=="0"?"checked":""?>>
								<i></i>
								否
							</label>
						</div>
						<div class="radio i-checks" style="float: left; margin-left: 20px;">
							<label>
								<input type="radio" name="is_computer" value="1" <?php echo $student_list['is_computer']=="1"?"checked":""?>>
								<i></i>
								是
							</label>
						</div>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">电脑说明</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入学生借用电脑说明" name="computer_remark" value="{$student_list.computer_remark}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学生评价</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入您对该学生的评价" name="evaluation" value="{$student_list.evaluation}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学生状态</label>
					<div class="col-sm-10">
						<select name="status_id" class="form-control m-b">
							{volist name="status_list" id="status" empty="暂时没有数据"}
							<option {$student_list['status_id']==$status['id']?"selected":""} value="{$status.id}">{$status.type}</option>
							{/volist}
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学生状态备注</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入该学生状态改变的备注" name="status_remark" value="{$student_list.status_remark}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="clear: both;">
					<label class="col-sm-2 control-label">是否是复读生</label>
					<div class="col-sm-10">
						<div class="radio i-checks" style="float: left;">
							<label>
								<input type="radio" name="is_restudy" value="0" <?php echo $student_list['is_restudy']=="0"?"checked":""?>>
								<i></i>
								否
							</label>
						</div>
						<div class="radio i-checks" style="float: left; margin-left: 20px;">
							<label>
								<input type="radio" name="is_restudy" value="1" <?php echo $student_list['is_restudy']=="1"?"checked":""?>>
								<i></i>
								是
							</label>
						</div>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label" for="input-id-1">休学开始日期</label>
					<div class="col-sm-10">
						<input class="Wdate" type="text" onClick="WdatePicker()" name="leave_s" value="{$student_list.leave_s}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div><div class="form-group">
				<label class="col-sm-2 control-label" for="input-id-1">休学结束日期</label>
				<div class="col-sm-10">
					<input class="Wdate" type="text" onClick="WdatePicker()" name="leave_e" value="{$student_list.leave_e}">
				</div>
			</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学生退学缘由</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入该学生退学缘由" name="exit_reason" value="{$student_list.exit_reason}">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="margin-bottom: 40px;">
					<div class="col-sm-5 col-sm-offset-2">
						<a href="{:url('administration_module/index/show_list')}" class="btn btn-default">返回</a>
						<button style="margin-left: 10px;" type="submit" class="btn btn-primary">保存</button>
					</div>
				</div>
			</form>
		</div>
	</section>
</section>